import psutil
import time
import datetime
def getSystemrelativetime():
    Boot_Start = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(psutil.boot_time()))
    boottime = datetime.datetime.fromtimestamp(psutil.boot_time())
    currenttime = datetime.datetime.now()
    diff_time = currenttime - boottime
    return [currenttime.strftime('%Y-%m-%d %H:%M:%S'),Boot_Start,diff_time]

if __name__ == "__main__":
    print(getSystemrelativetime())